<template>
  <div id="app">
    <transition name="slide-x">
      <router-view />
    </transition>
  </div>
</template>
<script>
import { addClass } from "@/utils/dom";
export default {
  async created() {
    const loadingDom = document.querySelector(".loading-container");
    addClass(loadingDom, "hide");
  }
};
</script>
<style lang="less">
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100%;
  overflow: auto;
}
</style>
